Skip to main content

Linux Upgrade

AIV4 Installation

-----To apply/change password of MySQL-----

sudo mysql --user=root mysql
UPDATE mysql.user SET authentication_string=null WHERE User='root';
flush privileges;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your_password_here';

-----To give access rights for folder-----

sudo chmod -R 777 /home/sixven/camp_sms/inputs

Or

greys@vps1:/tmp$ chmod a+w try2018

AIV5 Upgradation

  1. Open Terminal

Docusaurus Slash Introduction

  1. Change user to root
sudo su

Docusaurus Slash Introduction

  1. Install updates
apt-get update

Docusaurus Slash Introduction

Docusaurus Slash Introduction

  1. Install wget
apt-get install wget

Docusaurus Slash Introduction

Docusaurus Slash Introduction

  1. Exit from root user

Docusaurus Slash Introduction

Docusaurus Slash Introduction

  1. Download AIV5 from dropbox
wget https://www.dropbox.com/s/ytaz1hua5w5rj6x/aiv-linux-x64.run?dl=0

Docusaurus Slash Introduction

Docusaurus Slash Introduction

  1. Move file
mv aiv-linux-x64.run?dl=0 aiv-linux-x64.run

Docusaurus Slash Introduction

Docusaurus Slash Introduction

  1. Make file executable
chmod +x aiv-linux-x64.run

Docusaurus Slash Introduction

Docusaurus Slash Introduction

  1. run setup file
./aiv-linux-x64.run

Docusaurus Slash Introduction

-Once you hit enter, setup will be started

Docusaurus Slash Introduction

  1. Keep pressing Enter to read license agreement until it ask to accept license condition as shown below,

Docusaurus Slash Introduction

  1. Type Y and press enter to accept license conditions.

Docusaurus Slash Introduction

  1. When you click enter, next it will ask if this is new installation. Type n and hit enter because we need to upgrade.

Docusaurus Slash Introduction

  1. Next it will ask upgrade existing AIV, type y and hit enter

Docusaurus Slash Introduction

-After hitting enter, it will ask you if above selection is correct or not. Type y and click enter.

Docusaurus Slash Introduction

  1. Give Path where your existing application resides. Give path up to AIV folder

Docusaurus Slash Introduction

  1. In application name, keep it aiv if not changed and hit enter. You can see 2 options, press 1 if you want to download latest build from online website and press 2 if you want to use downloaded version and press enter

Docusaurus Slash Introduction

  1. Upgradation has started and it will ask for confirmation to continue to upgrade. Type y and press enter.

Docusaurus Slash Introduction

  1. Upgradation has started and will finish in some time. When finished, you will see screen like below image

Docusaurus Slash Introduction

  1. Upgradation has completed and now we need to run tomcat server. For that change file path to /aiv/tomcat/bin folder [cd /aiv/tomcat/bin] and run command ./startup.sh to start tomcat server.

You will see message that “Tomcat has started”. Wait for like 2 Mins as tomcat takes some time to load all files to server.

Docusaurus Slash Introduction

  1. After waiting for 2 Min Enter server IP Address and port number to open AIV. AIV Login screen should appear.

e.g. http://104.198.133.196:8080/aiv/

In case of any query regarding steps you can reach us at support@aivhub.com